//
//  HJCellModel.m
//  KaiChat
//
//  Created by lx on 2023/10/18.
//

#import "HJCellModel.h"

@implementation HJCellModel

- (instancetype)init {
    if (self = [super init]) {
        self.showArrow = YES;
        self.showLine = YES;
        self.isSelect = NO;
        self.textFieldEnabled = YES;
        self.textFieldMaxLength = NSUIntegerMax;
        self.selectionStyle = UITableViewCellSelectionStyleDefault;
    }
    return self;
}

+ (HJCellModel *)modelWithBlock:(void (^)(HJCellModel *model))block {
    HJCellModel *model = [[HJCellModel alloc] init];
    if (block) block(model);
    return model;
}

@end
